package com.ptu.entity;

import java.util.Date;

/**
 * 收入实体类
 */
public class InCome {
    private Integer icid;       // 收入编号
    private Integer amount;     // 收入金额
    private Date icdate;        // 收入日期
    private String ictype;      // 收入类型
    private String indesc;      // 收入备注
    private String userid;      // 录入用户

    public InCome() {
    }

    public InCome(Integer icid, Integer amount, Date icdate, String ictype, String indesc, String userid) {
        this.icid = icid;
        this.amount = amount;
        this.icdate = icdate;
        this.ictype = ictype;
        this.indesc = indesc;
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "InCome{" +
                "icid=" + icid +
                ", amount=" + amount +
                ", icdate=" + icdate +
                ", ictype='" + ictype + '\'' +
                ", indesc='" + indesc + '\'' +
                ", userid='" + userid + '\'' +
                '}';
    }

    public Integer getIcid() {
        return icid;
    }

    public void setIcid(Integer icid) {
        this.icid = icid;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Date getIcdate() {
        return icdate;
    }

    public void setIcdate(Date icdate) {
        this.icdate = icdate;
    }

    public String getIctype() {
        return ictype;
    }

    public void setIctype(String ictype) {
        this.ictype = ictype;
    }

    public String getIndesc() {
        return indesc;
    }

    public void setIndesc(String indesc) {
        this.indesc = indesc;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}
